import { Component, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'app-widget-add',
  templateUrl: './widget-add.component.html',
  styleUrls: ['./widget-add.component.css']
})
export class WidgetAddComponent {


  @Output() saveEvent = new EventEmitter();
  @Output() cancelEvent = new EventEmitter();

  saveHandle(): void {
    this.saveEvent.emit();
  }

  cancelHandle(): void {
    this.cancelEvent.emit();
  }

}
